#include <iostream>
#include <ctime>
#include <cstdlib>

int main()
{
	std::srand(std::time(0));
	std::cout << "1\n";
	int n = rand() % 20, m = rand() % 40, k = rand() % 6 + 1;
	std::cout << n << ' ' << m << ' ' << k << '\n';
}

